﻿using GameServer.Battle;
using GameServer.Database;
using GameServer.Mgr;
using Proto;
using Summer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameServer.Model
{
    
    public class Actor : Entity
    {
        public string Name { get; set; }
        public int Level { get; set; }
        public int Speed { get; set; }
        public Space Space { get; set; }
        public bool IsDead { get; set; }
        public EntityType Type { get; set; }
        public EntityState state;

        
        
        public Actor(EntityType Type,int id, Vector3Int position, Vector3Int direction,int Entityspeed) : base(id, position, direction, Entityspeed)
        {
            this.Type = Type;
            
        }
        public virtual void Revive()
        {
            IsDead = false;
        }
        

    }
}
